/**
 * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */

package com.mto.quangcao.model;

import com.liferay.portal.kernel.bean.AutoEscape;
import com.liferay.portal.model.BaseModel;
import com.liferay.portal.model.CacheModel;
import com.liferay.portal.service.ServiceContext;

import com.liferay.portlet.expando.model.ExpandoBridge;

import java.io.Serializable;

/**
 * The base model interface for the position_banner service. Represents a row in the &quot;MTO_position_banner&quot; database table, with each column mapped to a property of this class.
 *
 * <p>
 * This interface and its corresponding implementation {@link com.mto.quangcao.model.impl.position_bannerModelImpl} exist only as a container for the default property accessors generated by ServiceBuilder. Helper methods and all application logic should be put in {@link com.mto.quangcao.model.impl.position_bannerImpl}.
 * </p>
 *
 * @author thanh.tran
 * @see position_banner
 * @see com.mto.quangcao.model.impl.position_bannerImpl
 * @see com.mto.quangcao.model.impl.position_bannerModelImpl
 * @generated
 */
public interface position_bannerModel extends BaseModel<position_banner> {
	/*
	 * NOTE FOR DEVELOPERS:
	 *
	 * Never modify or reference this interface directly. All methods that expect a position_banner model instance should use the {@link position_banner} interface instead.
	 */

	/**
	 * Returns the primary key of this position_banner.
	 *
	 * @return the primary key of this position_banner
	 */
	public long getPrimaryKey();

	/**
	 * Sets the primary key of this position_banner.
	 *
	 * @param primaryKey the primary key of this position_banner
	 */
	public void setPrimaryKey(long primaryKey);

	/**
	 * Returns the position ID of this position_banner.
	 *
	 * @return the position ID of this position_banner
	 */
	public long getPositionId();

	/**
	 * Sets the position ID of this position_banner.
	 *
	 * @param positionId the position ID of this position_banner
	 */
	public void setPositionId(long positionId);

	/**
	 * Returns the position name of this position_banner.
	 *
	 * @return the position name of this position_banner
	 */
	@AutoEscape
	public String getPositionName();

	/**
	 * Sets the position name of this position_banner.
	 *
	 * @param positionName the position name of this position_banner
	 */
	public void setPositionName(String positionName);

	/**
	 * Returns the group category ID of this position_banner.
	 *
	 * @return the group category ID of this position_banner
	 */
	public long getGroupCategoryId();

	/**
	 * Sets the group category ID of this position_banner.
	 *
	 * @param groupCategoryId the group category ID of this position_banner
	 */
	public void setGroupCategoryId(long groupCategoryId);

	/**
	 * Returns the page category ID of this position_banner.
	 *
	 * @return the page category ID of this position_banner
	 */
	public long getPageCategoryId();

	/**
	 * Sets the page category ID of this position_banner.
	 *
	 * @param pageCategoryId the page category ID of this position_banner
	 */
	public void setPageCategoryId(long pageCategoryId);

	/**
	 * Returns the width of this position_banner.
	 *
	 * @return the width of this position_banner
	 */
	public long getWidth();

	/**
	 * Sets the width of this position_banner.
	 *
	 * @param width the width of this position_banner
	 */
	public void setWidth(long width);

	/**
	 * Returns the height of this position_banner.
	 *
	 * @return the height of this position_banner
	 */
	public long getHeight();

	/**
	 * Sets the height of this position_banner.
	 *
	 * @param height the height of this position_banner
	 */
	public void setHeight(long height);

	public boolean isNew();

	public void setNew(boolean n);

	public boolean isCachedModel();

	public void setCachedModel(boolean cachedModel);

	public boolean isEscapedModel();

	public Serializable getPrimaryKeyObj();

	public void setPrimaryKeyObj(Serializable primaryKeyObj);

	public ExpandoBridge getExpandoBridge();

	public void setExpandoBridgeAttributes(ServiceContext serviceContext);

	public Object clone();

	public int compareTo(position_banner position_banner);

	public int hashCode();

	public CacheModel<position_banner> toCacheModel();

	public position_banner toEscapedModel();

	public String toString();

	public String toXmlString();
}